﻿namespace DeviceFaultPushService.DeviceProcessManagement.CommunicationManagement.ModbusTcp.Models;

public class DataInformationModel
{
    /// <summary>
    /// 功能码
    /// </summary>
    public FunctionBlockEnum FunctionCode { get; set; }

    /// <summary>
    /// 设备号
    /// </summary>
    public byte SlaveAddress { get; set; }

    /// <summary>
    /// 开始地址
    /// </summary>
    public ushort StartAddress { get; set; }

    /// <summary>
    /// 长度
    /// </summary>
    public ushort NumberOfPoints { get; set; }

    /// <summary>
    /// uid
    /// </summary>
    public List<string> Uid { get; set; }

    /// <summary>
    /// ?启用
    /// </summary>
    public List<bool> IsEnable { get; set; }

    /// <summary>
    /// 报警信息
    /// </summary>
    public List<string> AlarmInformation { get; set; }
}